package com.xyb.dao;

import com.xyb.entity.CourseDetail;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 课程(CourseDetail)表数据库访问层
 *
 * @author makejava
 * @since 2021-11-12 09:53:18
 */
public interface CourseDetailDao extends JpaRepository<CourseDetail, Long> {

    Integer countByChapterId(Long chapterId);
}